package com.it.zhangjun.controller;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @apiNote 用户测试类
 * @className: User
 * @description: 用户测试类111
 * @author: z00018123
 * @date: 2021/4/29
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class User implements Serializable {
    /**
     * 用户id
     */
    private String id;
    /**
     * 用户姓名
     */
    private String name;

    /**
     * 性别
     */
    private Sex sex;

    public enum Sex {
        M, F
    }

}
